<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./elementuiStyle.css">
    <style>
        .el-tabs__nav {
            width: 100%;
            display: flex;
            justify-content: space-between;
        }
        .el-tabs__active-bar {
            display: none;
        }
        .el-tabs__nav .is-active {
            color: #fdfdfd;
            border: 1px solid black;
            background-color: blue;
            border-radius: 20px;
        }
        .el-tabs__item {
            padding: 0 20px !important;
            border: 1px solid transparent;
            border-radius: 20px;
        }
        .el-tabs__item:hover {
            color: #303133;
        }
        .el-tabs__nav .is-active:hover {
            color: #fdfdfd !important;
        }
        .el-tabs__nav-wrap::after {
            height: 0px;
            background-color: transparent;
        }
    </style>
</head>
<body>
    <div id="app">
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
            <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
            <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
            <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
        </el-tabs>
    </div>
</body>
</html>

<script src="./vu2js.js"></script>
<!-- 引入样式 -->
<!-- 引入组件库 -->
<script src="./elementuijs.js"></script>

<script>
    var app = new Vue({
        el: '#app',
        data: {
            activeName: 'second'
        },
        created() {
        },
        methods: {
            handleClick(tab, event) {
                console.log(tab, event);
            }
        }
    })
</script>